﻿namespace Bmz.Event.Bus.Entities
{
    /// <summary>
    /// Used to trigger entity change events.
    /// </summary>
    public interface IEntityChangedEventHelper
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="entity"></param>
        void TriggerEntityCreatedEvent(object entity);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="entity"></param>
        void TriggerEntityUpdatedEvent(object entity);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="entity"></param>
        void TriggerEntityDeletedEvent(object entity);
    }
}
